@import "../../../assets/css/mixins";

.default-select-content {
  width: 100%;
  height: 100%;
  position: relative;
  line-height: 0;
  .select-content {
    width: 100%;
    height: 100%;
    @include flex-row-wrap;
    align-items: normal !important;
    .down-arrow{
      width: 20px;
      height: 15px;
      align-self: center;
    }
    .down-arrow::after{
      width: 10px;
      height: 10px;
    }
    input[type=text] {
      background: none;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      padding-left: 5px;
      padding-right: 5px;
      outline: none;
      height: 30px;
      min-width: 20%;
      border: none;
      flex: 1;
      z-index: 2;
      cursor: pointer;
    }

  }
  ul{
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 100%;
    background: #ffffff;
    border: 1px solid #dddddd;
    z-index: 5;
    max-height:120px;
    overflow-y: auto;
    &::-webkit-scrollbar {
      width: 5px;
      height: 1px;
    }
    &::-webkit-scrollbar-thumb {
      border-radius: 6px;
      -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
      background: #56A7FD;
    }
    &::-webkit-scrollbar-track {
      -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
      border-radius: 2px;
      background: #EDEDED;
    }
    li{
      min-width: 100%;
      height: 30px;
      line-height: 30px;
      display: block;
      padding-left: 10px;
      cursor: pointer;
      white-space: nowrap;
      position: relative;
      input[type=button] {
        border: none;
        height: 100%!important;
        width: 100%;
        text-align: left;
        padding-left: 5px;
        background: none;
        display: block;
        outline:none;

      }
      &:hover{
        background:#D4E1EE;
      }
    }
  }
}
